<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>操作记录 - Remote MySQL</title>
        <link rel="stylesheet" type="text/css" href="{$Think.__APP_PUBLIC__}/css/reset.css">
        <link rel="stylesheet" type="text/css" href="{$Think.__APP_PUBLIC__}/css/public.css">
        <script language="javascript" type="text/javascript" src="{$Think.__APP_PUBLIC__}/js/jquery-1.8.2.js"></script>
		<script language="javascript" type="text/javascript" src="{$Think.__APP_PUBLIC__}/js/Index/operation_log.js"></script>
        <script language="javascript" type="text/javascript">
            var HOST_NAME = "{$Think.HOST_NAME}";
			var URL = "__URL__";
			var user_id = "{$user_id}";
        </script>
    </head>

    <body>
        <include file="Base:head" />
        <div>
    		<fieldset>
                <legend align="center">&nbsp;操作记录 - Remote MySQL&nbsp;</legend>
				<div class="filter_area">
					<label for="user_list">按用户筛选：</label>
					<select id="user_list">
						<option value="all" selected="selected">全部</option>
						<volist name="user_list" id="vo">
						<option value="{$vo['id']}">{$vo['nickname']}</option>
						</volist>
					</select>
				</div>
                <table class="rmt_table">
                    <tr class="title">
						<td width="15%">用户</td>
                        <td width="15%">操作时间</td>
						<td width="70%">日志</td>
                    </tr>
					<if condition="count($PAGE['data']) eq 0">
					<tr><td class="err_notice" colspan="3">暂无操作记录</td></tr>
					<else/>
					<volist name="PAGE['data']" id="vo">
					<tr>
						<td>{$vo['user']}</td>
						<td>{$vo['date']}</td>
						<td>{$vo['contents']}</td>
                    </tr>
                    </volist>
					</if>
                </table>
				<div class="pagelist_area">
					<include file="Base:pagelist" />
				</div>
            </fieldset>
        </div>
    </body>
</html>
